﻿using Abp.Application.Services.Dto;
using Logistics.Car;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace Logistics
{
    public interface IOwnerAppService : IApplicationService
    {
        /// <summary>
        /// 基本信息车辆信息
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<PagedResultDto<OwnerDto>> GetListAsync(GetOwnerDto dto);
        /// <summary>
        /// 基本信息车辆信息删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(int id);
        /// <summary>
        /// 车辆添加
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        Task<OwnerDto> Create(OwnerDto m);
        /// <summary>
        /// 车辆反填反填
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<OwnerDto> GetCarryById(int Id);
        /// <summary>
        /// 基础车辆修改
        /// </summary>
        /// <param name="ca"></param>
        /// <returns></returns>
        Task<int> Update(OwnerDto ca);
    }
}
